<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/jsp/common/taglibs.jsp" %>    
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<link rel="stylesheet" href="${ctx}/lib/bootstrap-3.3.7-dist/css/bootstrap.css" />
</head>
<body>
	<table class="table table-hover">
		<tr>
			<th>ID</th>
			<th>姓名</th>
			<th>年龄</th>
			<th>性别</th>
			<th>班级ID</th>
			<th>班级姓名</th>
		</tr>
		<c:forEach items="${list}" var="student">
			<tr>
				<th>${student.id}</th>
				<th>${student.name}</th>
				<th>${student.age}</th>
				<th>${student.gender}</th>
				<th>${student.banji.id}</th>
				<th>${student.banji.name}</th>
			</tr>
		
		</c:forEach>
	</table>
	
</body>
</html>